package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.GradeModule;
import com.xmy.cultivate.mapper.GradeModuleMapper;
import com.xmy.cultivate.service.IGradeModuleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 面试评分模块表 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-11-28
 */
@Service
public class GradeModuleServiceImpl extends ServiceImpl<GradeModuleMapper, GradeModule> implements IGradeModuleService {
    @Autowired
    GradeModuleMapper gradeModuleMapper;
    @Override
    public List<GradeModule> getGradeModuleByType(String type) {
        return gradeModuleMapper.getModulesByType(type);
    }

}
